package multistate;

public class StudentTest {

    public static void main(String[] args) {
        Student stu1 = new Student();
//        System.out.println("姓名："+stu1.getName());
//        System.out.println("年龄："+stu1.getAge());
//        System.out.println("性别："+stu1.getGender());
        System.out.println(stu1); // 自动调用toString方法
    }
}
